//
//  GetMainColorTool.swift
//  ShouChong
//
//  Created by 陈友文 on 2024/7/11.
//

import UIKit

class GetMainColorTool: NSObject {
    class func getMainColor() -> String {
        guard let currentColorName = UserDefaults.standard.value(forKey: "curren_main_color") as? String else {
            UserDefaults.standard.setValue("color_main_01", forKey: "curren_main_color")
            return "color_main_01"
        }
        return currentColorName
    }
    
    
}
